package com.lj.graduate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljy
 * @since 2023-03-24
 */
@Data
@TableName("orders")
  @ApiModel(value = "Order对象", description = "")
public class Order implements Serializable {


      @TableId(value = "order_id", type = IdType.AUTO)
      private Integer orderId;

    private Integer userId;

    private Integer scenicId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime orderTime;

    private String orderState;

    private String paymentMethod;

    private float price;

    private Integer deleted;

}
